import request from '@/utils/request'

export const changeCommentStatus = (articleId, allowComment) => {
  return request({
    url: 'mp/v1_0/comments/status',
    method: 'put',
    params: { article_id: articleId },
    data: { allow_comment: allowComment }
  })
}
